package com.dream.cgomall.service.impl;

import com.dream.cgomall.dao.CgoGoodGuaranteeDao;
import com.dream.cgomall.entity.CgoGuarantee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CgoGoodGuaranteeServiceImpl {
    @Autowired
    private CgoGoodGuaranteeDao cgoGoodGuaranteeDao;

    public List<CgoGuarantee> findGuar(Integer id){
        return cgoGoodGuaranteeDao.findGuaranteeById(id);
    }
}
